package com.ruoyi.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * APP用户粉丝信息对象 ap_user_fan
 *
 * @author ruoyi
 * @date 2023-12-01
 */
@TableName("ap_user_fan")
public class ApUserFan implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private String userId;

    /**
     * 粉丝ID
     */
    @Excel(name = "粉丝ID")
    private String fansId;

    /**
     * 粉丝昵称
     */
    @Excel(name = "粉丝昵称")
    private String fansName;

    /**
     * 粉丝忠实度
     * 0 正常
     * 1 潜力股
     * 2 勇士
     * 3 铁杆
     * 4 老铁
     */
    private String level;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 是否可见我动态
     */
    @Excel(name = "是否可见我动态")
    private String isDisplay;

    /**
     * 是否屏蔽私信
     */
    @Excel(name = "是否屏蔽私信")
    private String isShieldLetter;

    /**
     * 是否屏蔽评论
     */
    @Excel(name = "是否屏蔽评论")
    private String isShieldComment;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setFansId(String fansId) {
        this.fansId = fansId;
    }

    public String getFansId() {
        return fansId;
    }

    public void setFansName(String fansName) {
        this.fansName = fansName;
    }

    public String getFansName() {
        return fansName;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return level;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setIsDisplay(String isDisplay) {
        this.isDisplay = isDisplay;
    }

    public String getIsDisplay() {
        return isDisplay;
    }

    public void setIsShieldLetter(String isShieldLetter) {
        this.isShieldLetter = isShieldLetter;
    }

    public String getIsShieldLetter() {
        return isShieldLetter;
    }

    public void setIsShieldComment(String isShieldComment) {
        this.isShieldComment = isShieldComment;
    }

    public String getIsShieldComment() {
        return isShieldComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("fansId", getFansId())
                .append("fansName", getFansName())
                .append("level", getLevel())
                .append("createdTime", getCreatedTime())
                .append("isDisplay", getIsDisplay())
                .append("isShieldLetter", getIsShieldLetter())
                .append("isShieldComment", getIsShieldComment())
                .toString();
    }
}
